<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class MasterLog
 * 
 * @property int $id
 * @property int $module_id
 * @property int $menu_id
 * @property int $item_id
 * @property string $old
 * @property string $new
 * @property string $remark
 * @property int $target_id
 * @property string $target_name
 * @property int $operator_id
 * @property string $operator_name
 * @property string $log_ip
 * @property int $status
 * @property \Carbon\Carbon $created_at
 *
 * @package App\Models
 */
class MasterLog extends Eloquent
{
	protected $table = 'master_log';
	public $timestamps = false;

	protected $casts = [
		'module_id' => 'int',
		'menu_id' => 'int',
		'item_id' => 'int',
		'target_id' => 'int',
		'operator_id' => 'int',
		'status' => 'int'
	];

	protected $fillable = [
		'module_id',
		'menu_id',
		'item_id',
		'old',
		'new',
		'remark',
		'target_id',
		'target_name',
		'operator_id',
		'operator_name',
		'log_ip',
		'status'
	];
}
